package com.demo.service.impl;

import com.demo.dao.UserDao;
import com.demo.entity.po.User;
import com.demo.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author simon
 * @date 2019/5/5 14:43
 * @copyright:
 * @modifier
 * @motto a no talent, people who have to study hard
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserDao userDao;

    @Override
    public User findById(String userId) {
        return userDao.findById(userId);
    }
}
